package net.garbage;

import java.io.IOException;
import java.net.InetAddress;
import java.net.Socket;

/**
 * @author Jose Martin Rozanec;
 */
public class NetPortToServer extends NetPort {
    public NetPortToServer(String host, int port) throws IOException {
        super(new Socket(host, port));
    }

    public NetPortToServer(InetAddress address, int port) throws IOException {
        super(new Socket(address, port));
    }
}